<template>
    <div class="fluid">
        <div class="container">
            <div class="left">
                <p class="pweight">产品优化 高效实现营销目标</p>
                <p class="p1 pcommon">
                    <img src="../../assets/img/bigcustomer/30.png" alt="">
                    <span >优化媒体组合/价格策略/营销套餐</span>
                </p>
                <p class="p2 pcommon">
                    <img src="../../assets/img/bigcustomer/30.png" alt="">
                    <span>提供各行业营销解决方案,多样化营销策略助客户平衡成本和收益，提高广告投放效率。</span>
                </p>
                <div class="btn" >
                    <span @click="toCreateAIPlan">快速定制专属方案</span>
                </div>
            </div>
            <div class="right">
                <div class="bgimg-l"></div>
                <div class="bgimg-r"></div>
            </div>
        </div>
        <mask-toast v-if="showMaskToast" @closeMask="closeMask"></mask-toast>
    </div>
</template>
<script>
import maskToast from '../upgrade/upgradeToast'
export default {
    data(){
        return {
            debug: true,
            showMaskToast: false
        }
    },
    methods: {
        toCreateAIPlan(){
            if(this.debug){
                this.showMaskToast = true
                return
            }
            this.$router.push({path:'/createAIPlan'});
        },
        closeMask(data){
            this.showMaskToast = data
        }
    },
    components: {
        maskToast
    }
}
</script>
<style scoped>
.fluid{
    width: 100%;
    margin-top: 70px;
    /* border:1px solid red; */
    box-shadow: 2px 2px 20px #ededed;
}
.container{
    width:1200px;
    margin:0 auto;
    overflow: hidden;
}
.left{
    float:left;
    width: 56%;
}
.right{
    float:right;
    width: 44%;
}
.right div {
    height: 383px;
    float: left;
}
.right .bgimg-l{
    width: 40%;
    background: url('../../assets/img/bigcustomer/28.png') no-repeat;
    background-position: 58% 55%;
    background-size: 800%;
}
.right .bgimg-r{
    width: 60%;
    background: url('../../assets/img/bigcustomer/29.png') no-repeat;
    background-position: 78% 55%;
    background-size: 500%;
}
.pweight{
    font-size: 24px;
    font-weight: bold;
    margin-top: 80px;
}
.pcommon{
    font-size: 16px;
    margin-top: 20px;
}
.pcommon span{
    margin-left: 10px;
}
.p1{
    margin-top: 60px;
}
.btn{
    width:170px;
    height: 40px;
    background: url("../../assets/img/bigcustomer/31.png");
    text-align: center;
    line-height: 40px;
    margin-top: 50px;
    margin-bottom: 60px;
    border-radius: 20px;
    box-shadow: 0px 4px 19px #ed9191;
}
.btn span{
    font-size: 14px;
    color:#fff;
    cursor: pointer;
}
</style>


